package org.example.day20241227.operators;

import org.apache.flink.api.common.RuntimeExecutionMode;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;

/**
 * @className: AggregationsDemo
 * @author: 孙磊
 * @date: 2024/12/29 22:58
 * @Version: 1.0
 * @description:        ？？
 */
public class AggregationsDemo {
    public static void main(String[] args) throws Exception {
        final StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();
        env.setRuntimeMode(RuntimeExecutionMode.BATCH);
        env.setParallelism(1);

        env.execute();
    }
}
